<template>
  <LamStatus :value="value" :text="text" :styleMap="statusStyle" :useTag='false'/>
</template>

<script>
  export default{
    name:'OperBusiness',
    props:{
      value:{
        type:String|Number,
        require: true
      },
      text:{
        type: String,
        require: true
      }
    },
    data(){
      return{
        statusStyle:{
          'delete':'red',
          'insert':'#52c41a',
          'import':'#52c41a',
          'update':'blue',
          'export':'#9970db',
          'download':'#9970db',
          'login_verify_code':'#37b6e6',
          'login_in':'green',
          'login_out':'gray',
        }
      }
    },
    created(){
    },

  }

</script>

<style scoped>

</style>
